package zl.ordermanager.po;

import static javax.persistence.GenerationType.IDENTITY;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Tdelivery entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "tdelivery", catalog = "ordermanager")
public class Tdelivery implements java.io.Serializable {

	// Fields

	private Integer id;

	private String orderNo;

	private String orderDate;

	private String customer;

	private String salesman;

	private String product;

	private String deliveryMethod;

	private String deliveryDate;

	private String technician;

	private String departTime;

	private String returnTime;

	private String bonus;

	private String driver;

	private String driverPhone;

	private String cost;

	private String abstractMonth;

	private String remarks;

	private String audit;

	// Constructors

	/** default constructor */
	public Tdelivery() {
	}

	/** minimal constructor */
	public Tdelivery(String orderNo, String orderDate, String customer, String salesman, String product,
			String deliveryMethod, String deliveryDate) {
		this.orderNo = orderNo;
		this.orderDate = orderDate;
		this.customer = customer;
		this.salesman = salesman;
		this.product = product;
		this.deliveryMethod = deliveryMethod;
		this.deliveryDate = deliveryDate;
	}

	/** full constructor */
	public Tdelivery(String orderNo, String orderDate, String customer, String salesman, String product,
			String deliveryMethod, String deliveryDate, String technician, String departTime, String returnTime,
			String bonus, String driver, String driverPhone, String cost, String abstractMonth, String remarks,
			String audit) {
		this.orderNo = orderNo;
		this.orderDate = orderDate;
		this.customer = customer;
		this.salesman = salesman;
		this.product = product;
		this.deliveryMethod = deliveryMethod;
		this.deliveryDate = deliveryDate;
		this.technician = technician;
		this.departTime = departTime;
		this.returnTime = returnTime;
		this.bonus = bonus;
		this.driver = driver;
		this.driverPhone = driverPhone;
		this.cost = cost;
		this.abstractMonth = abstractMonth;
		this.remarks = remarks;
		this.audit = audit;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "orderNo", nullable = false, length = 100)
	public String getOrderNo() {
		return this.orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	@Column(name = "orderDate", nullable = false, length = 24)
	public String getOrderDate() {
		return this.orderDate;
	}

	public void setOrderDate(String orderDate) {
		this.orderDate = orderDate;
	}

	@Column(name = "customer", nullable = false, length = 200)
	public String getCustomer() {
		return this.customer;
	}

	public void setCustomer(String customer) {
		this.customer = customer;
	}

	@Column(name = "salesman", nullable = false, length = 45)
	public String getSalesman() {
		return this.salesman;
	}

	public void setSalesman(String salesman) {
		this.salesman = salesman;
	}

	@Column(name = "product", nullable = false, length = 200)
	public String getProduct() {
		return this.product;
	}

	public void setProduct(String product) {
		this.product = product;
	}

	@Column(name = "deliveryMethod", nullable = false, length = 45)
	public String getDeliveryMethod() {
		return this.deliveryMethod;
	}

	public void setDeliveryMethod(String deliveryMethod) {
		this.deliveryMethod = deliveryMethod;
	}

	@Column(name = "deliveryDate", nullable = false, length = 24)
	public String getDeliveryDate() {
		return this.deliveryDate;
	}

	public void setDeliveryDate(String deliveryDate) {
		this.deliveryDate = deliveryDate;
	}

	@Column(name = "technician", length = 200)
	public String getTechnician() {
		return this.technician;
	}

	public void setTechnician(String technician) {
		this.technician = technician;
	}

	@Column(name = "departTime", length = 24)
	public String getDepartTime() {
		return this.departTime;
	}

	public void setDepartTime(String departTime) {
		this.departTime = departTime;
	}

	@Column(name = "returnTime", length = 24)
	public String getReturnTime() {
		return this.returnTime;
	}

	public void setReturnTime(String returnTime) {
		this.returnTime = returnTime;
	}

	@Column(name = "bonus", length = 10)
	public String getBonus() {
		return this.bonus;
	}

	public void setBonus(String bonus) {
		this.bonus = bonus;
	}

	@Column(name = "driver", length = 45)
	public String getDriver() {
		return this.driver;
	}

	public void setDriver(String driver) {
		this.driver = driver;
	}

	@Column(name = "driverPhone", length = 45)
	public String getDriverPhone() {
		return this.driverPhone;
	}

	public void setDriverPhone(String driverPhone) {
		this.driverPhone = driverPhone;
	}

	@Column(name = "cost", length = 45)
	public String getCost() {
		return this.cost;
	}

	public void setCost(String cost) {
		this.cost = cost;
	}

	@Column(name = "abstractMonth", length = 45)
	public String getAbstractMonth() {
		return this.abstractMonth;
	}

	public void setAbstractMonth(String abstractMonth) {
		this.abstractMonth = abstractMonth;
	}

	@Column(name = "remarks", length = 250)
	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	@Column(name = "audit", length = 45)
	public String getAudit() {
		return this.audit;
	}

	public void setAudit(String audit) {
		this.audit = audit;
	}

}